/* 
 *   Date       Developer   Description
 *   
 *
 *   Classname:  org.apache.camel.component.custom.CustomComponent
 * 
 *   Date:   2014-3-3
 * 
 *   The source code contained in this listing is proprietary to
 *   HLJ POST YITONG INFO-NET CO.,LTD.
 * 
 *   Unauthorized copying, adaptation, distribution, use, or display
 *   is strictly prohibited.
 *   This software is Copyright 2014 HLJ POST YITONG INFO-NET CO.,LTD.
 */
package com.titan.demo.camel.developers.component;

import java.util.Map;

import org.apache.camel.Endpoint;
import org.apache.camel.impl.DefaultComponent;

import com.titan.demo.camel.utils.LogUtils;


/**
 *
 *
 * @author Administrator
 *
 */
public class CustomComponent extends DefaultComponent {
    protected Endpoint createEndpoint(String uri, String remaining, Map<String, Object> parameters) throws Exception {
        LogUtils.log(CustomComponent.class, "createEndpoint", "uri="+uri, "remaining="+remaining, "parameters="+parameters);
        return new CustomEndpoint(uri, this);
    }
}



